Skip to content

Conversation

@BethanyG
Copy link
Member

@BethanyG BethanyG commented Feb 14, 2025

Added language about the disallowed % operator to the Comprehensions approach.

See this forum discussion for details. I was unable to rewrite this without the modulus, but felt it was important to include as a counter example. Using % makes the code look cleaner, but doesn't actually confer any advantage over the first example in the file.

Added language about the disallowed `%` operator to the Comprehensions approach.
@BethanyG BethanyG merged commit 664f1db into main Feb 14, 2025
9 checks passed
@BethanyG BethanyG deleted the BethanyG-patch-2 branch February 14, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants